﻿//using System;
//using System.Collections.Generic;
//using System.Linq;
//using System.Runtime.Serialization;
//using System.ServiceModel;
//using System.ServiceModel.Web;
//using System.Text;
//using System.Drawing;
//using ImageAppViewModels;
//using ImageAppDataModels;
//using System.IO;

//namespace ImageService
//{
//    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IService1" in both code and config file together.
//    [ServiceContract]
//    public interface IService1
//    {
//        [OperationContract]
//        FileImageDto GetImage(string identifier);

//        [OperationContract]
//        void SaveImage(FileImageDto image);

//        [OperationContract]
//        List<FileImageDto> GetThumbnails(List<string> identifiers);

//        [OperationContract]
//        List<FileImageDto> GetAllImageMetadata();

//        [OperationContract]
//        byte[] ReadAllImageBytes(string fileName);

//        [OperationContract]
//        byte[] ReadAllThumbnailBytes(string fileName);

//        [OperationContract]
//        void WriteAllBytes(string fileName, byte[] bytes);

//        [OperationContract]
//        void Copy(string orig, string newFileName);

//        [OperationContract]
//        void Delete(string fileName);

//        [OperationContract]
//        bool Exists(string fileName);

//        [OperationContract]
//        void SetAttributes(string fileName, FileAttributes attribs);
//    }    
//}
